﻿using System;
using System.Windows.Forms;

namespace ClientApplication
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Instatiate proxies
            var unityFs = ServiceProvider.ResolveUnity<IFirstServiceProxyUnity>();
            var windsorFs = ServiceProvider.Resolve<IFirstServiceProxyWindsor>();
            var postSharpFs = ServiceProvider.Resolve();
            Application.Run(new Form1(unityFs, windsorFs, postSharpFs));
        }
    }
}
